package com.wh.nio.tcplong.client;

import java.io.OutputStream;

/**
 * 
 *  Class Name: HeartBeatTask.java
 *  Description: 实现5秒钟发一个定时心跳
 *  @author wanghao  DateTime 2017年2月10日 下午4:32:21 
 *  @company hongbo
 *  @email 1228675455@qq.com
 */
public class HeartBeatTask implements Runnable {

	private static final int REPEATTIME = 4000;
	private volatile boolean isKeepAlive = true;
	private OutputStream outputStream;
	private String uuid;
	
	public HeartBeatTask(OutputStream outputStream, String uuid) {
		super();
		this.outputStream = outputStream;
		this.uuid = uuid;
	}

	@Override
	public void run() {
		//心跳程序的内容
	}
	
	
}
